-
Notifications
You must be signed in to change notification settings - Fork 77
Spin retention after envelope loss #1283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…anges preserve angular momentum by adjusting Omega accordingly
… same stellar type
|
Hi @veome22 , I thought my edits to void Star::ResolveEnvelopeLossAndSwitch() { fixed precisely this issue; are you saying they do not? |
jeffriley
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine to me - thanks @veome22. Just need dev pulled in, or fix the conflict by hand.
Hi @ilyamandel ! Yes, I am saying that those changes did not fix the problem. The mass of the stars must change at some point before ResolveEnvelopeLossAndSwitch() (maybe in ResolveCommonEnvelopeAccretion()). So the Omega() function returns the angular momentum conserved omega after mass loss, rather than the initial spin before CE. |
|
@veome22 -- yes, you are right, the mass is changed in ResolveCommonEnvelopeAccretion(), sorry I missed that! |
Minor bug fix for the behavior of stellar spins to be retained after envelope loss. This is complementary to @ilyamandel's recent updates to stellar rotation models.
The previous behavior was to (inadvertently) retain the full angular momentum after envelope loss, which would spin up the remnant star very fast instead of losing the envelope's angular momentum.
Solved this by storing the rotational frequency at the beginning of the CE phase, and then assigning the spin back to the stars after envelope loss.